package com.krain.ddbb.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by ex-kuangxiaomin101 on 2016-01-06.
 */
public class UploadResult implements Parcelable {
    private String image;

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.image);
    }

    public UploadResult() {
    }

    protected UploadResult(Parcel in) {
        this.image = in.readString();
    }

    public static final Creator<UploadResult> CREATOR = new Creator<UploadResult>() {
        public UploadResult createFromParcel(Parcel source) {
            return new UploadResult(source);
        }

        public UploadResult[] newArray(int size) {
            return new UploadResult[size];
        }
    };

    @Override
    public String toString() {
        return "UploadResult{" +
                "image='" + image + '\'' +
                '}';
    }
}
